'''
Created on 2011-11-1

@author: Botao Wu
'''

class Base(object):
    name = 'Base'
    dept = 'Base Dept'
    
    def baseFoo(self):
        print self.name
        

class User(Base):
    name = 'User'
    
    def userFoo(self):
        print self.name
        

if __name__ == '__main__':        
    u = User()
    u.baseFoo()
    u.userFoo()